/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package se.sll.service.catalogue.common.rest.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 *
 * @author khaleddaham
 */
@SuppressWarnings("PMD.UnusedPrivateField")
@XmlRootElement
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CreateCodeRequest {
    @NotNull()
    @Size(min = 1, max = 255)
    private String code;
    private String description;    
    private String displayName;    
}



